home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-22 | 1.5 KB | 48 lines | [TEXT/CWIE] |
- // Release Version: $ ODF 2 $
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
-
- #ifndef FRAME_H
- #define FRAME_H
-
- //=======================================================================
- // ----- Framework Includes -----
- #ifndef FWFRAME_H
- #include <FWFrame.h> // FW_CFrame
- #endif
-
- //=======================================================================
- class CGraphicsGXPart;
- class FW_CPrintHandler;
- class FW_CGraphicContextGX;
-
- //=======================================================================
- class CGraphicsGXFrame : public FW_CFrame {
- public:
- FW_DECLARE_AUTO(CGraphicsGXFrame)
- CGraphicsGXFrame(Environment* ev,
- ODFrame* odFrame,
- FW_CPresentation* presentation,
- CGraphicsGXPart* graphicsgxPart);
- virtual ~CGraphicsGXFrame();
- protected:
- // overrides
- virtual void Draw(Environment* ev,
- ODFacet* odFacet,
- ODShape* invalidShape);
- // ----- Printing ------
- virtual FW_CPrintHandler* NewPrintHandler(Environment* ev);
- virtual FW_Boolean IsCurrentlyPrintable(Environment* ev) const;
- virtual void GetPrintContentExtent(Environment* ev, FW_CPoint& extent) const;
- // new members
- virtual void MyDrawWithODF(Environment* ev,
- ODFacet* odFacet,
- ODShape* invalidShape);
- virtual void MyDrawGXBoxes(Environment* ev,
- FW_CGraphicContextGX& context);
- virtual void MyDrawGXText(Environment* ev,
- FW_CGraphicContextGX& context);
- };
-
- //=======================================================================
- #endif
-